<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<title>MYWAY AIRLINE</title>
		<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="/css/minimal/blue.css" />
		<link rel="stylesheet" type="text/css" href="/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="/css/hotelhome.css"/>
		<style>
			body .laydate-theme-molv .layui-laydate-main{
				width: 230px;
			}
			body .layui-laydate-content td, .layui-laydate-content th {
				font-size:12px;
				/*height:25px;*/
			}
		</style>
	</head>
	<body>
		<jsp:include page="head.jsp"/>

		<aside class="banner">
			<img src="img/banner/1_02.png" alt="" />
			<div class="banner_sea">
				<form action="/hotel/hotelcity.json" onsubmit="return checkCityForm()" method="post" >
					<span>目的地</span>
					<input type="text"  id="city_address" class="target_address" name="city"/>
					<div class="input-group inputGroup clearfix">
					      <div class="input-group-addon"></div>
					      <input type="text" class="form-control" name="startTime"  id="to_">
				    </div>
					<div class="input-group inputGroup clearfix">
					      <div class="input-group-addon"></div>
					      <input type="text" class="form-control" name="endTime" id="from_">
				    </div>
				    <button class="classicButton magnifier" type="submit" ></button>
				</form>
			</div>
		</aside>
		<main class="main_gay">
			<div class="banner featuredHotel outerBox_type2 assess_">
				<div class="container clearfix">
					<h3 id="h3city"><div>热门目的地</div><a href="#none" class="select">北京</a><a href="#none">上海</a></h3>
					<div >
						<ul id="citylistul">

						</ul>
					</div>
				</div>
			</div>
			<div class="banner outerBox_type2 themeHotel assess_">
					<div class="container clearfix">
						<h3 id="titleh3"><div>主题酒店</div><a href="#none">假日公园</a><a href="#none">山林小屋</a></h3>
						<div >
							<ul id="titlelistul">

							</ul>
						</div>
					</div>
				</div>
		</main>
		<jsp:include page="footer.jsp"/>
	</body>
	<script src="/js/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/cityselect.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/laydate.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/icheck.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/common.js" type="text/javascript" charset="utf-8"></script>
	<script src="/js/hotelhome.js" type="text/javascript" charset="utf-8"></script>

	<script type="text/javascript">
		$('.outerBox_type2 h3 a').on('click',function(){
			$(this).addClass('select').siblings().removeClass('select');
		});
        var newTime=(new Date()).valueOf();
        var nTime= new Date();
        nTime.setDate(nTime.getDate()+1);
        laydate.render({
            elem: '#to_' //指定元素
            ,theme: '#0e68ab',
            min:newTime,
            format:'yyyy-MM-dd',
            value:new Date(),
        });
        laydate.render({
            elem: '#from_' //指定元素
            ,theme: '#0e68ab'
            , min:newTime,
            format:'yyyy-MM-dd',
            value:nTime,
        });
	</script>
</html>

